package com.flow.engine.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.flow.engine.dto.FlowTemplateDTO;
import com.flow.engine.entity.FlowNodeTemplate;
import com.flow.engine.entity.FlowTemplate;

import java.util.List;


public interface FlowTemplateService extends IService<FlowTemplate> {
    List<FlowTemplate> queryList(FlowTemplate record);

    List<FlowTemplate> queryListPage(Integer pageNum, Integer pageSize, FlowTemplate record);

    List<FlowNodeTemplate> queryNodeList(String userId, Long flowId);

    Boolean createFlowTemplate(FlowTemplateDTO templates);
}
